import java.util.Scanner;

class simulationPause extends Thread{

    public void run(){  //建立子线程监听键盘

            Scanner in = new Scanner(System.in);
            int a = in.nextInt();
            if (a == 0) dijkstra.pauseFlag = true;
    }
}
